package detect;

import interfaces.Detect;

import java.util.HashMap;
import java.util.Map;

import util.CatchLanguage;

public class DetectLanguageASP implements Detect {

	@Override
	public void getInfo(Map<String, Object> obj) {
		String languageName = "ASP";		
		String[] footerWords = null;
		String[] cookieNames = { "ASP.NET_SessionId" };

		Map<String, String> detectHeaderMap = new HashMap<String, String>();
		detectHeaderMap.put("Server", "Microsoft-IIS");
		detectHeaderMap.put("X-Powered-By", "Asp.net");
		detectHeaderMap.put("X-AspNet-Version", "");
		detectHeaderMap.put("X-AspNetMvc-Version", "");

		CatchLanguage.catchLanguage(detectHeaderMap, cookieNames, footerWords,
				obj, languageName);
	}
}
